package com.ruoyi.project.visit.domain;

import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Objects;

/**
 * 挂号费用类型实体
 */

public class DoctorRegistraFee extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer registraId;
    /** 名字 */
    private String registraName;
    /** 挂号费用 */
    private String registraUnitprice;
    /** 状态 */
    private Integer status;
    /** 扩展字段1 */
    private String ext01;
    /** 扩展字段2 */
    private String ext02;

    @Override
    public String toString() {
        return "DoctorRegistraFee{" +
                "registraId=" + registraId +
                ", registraName='" + registraName + '\'' +
                ", registraUnitprice='" + registraUnitprice + '\'' +
                ", status=" + status +
                ", ext01='" + ext01 + '\'' +
                ", ext02='" + ext02 + '\'' +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        DoctorRegistraFee that = (DoctorRegistraFee) o;
        return Objects.equals(registraId, that.registraId) &&
                Objects.equals(registraName, that.registraName) &&
                Objects.equals(registraUnitprice, that.registraUnitprice) &&
                Objects.equals(status, that.status) &&
                Objects.equals(ext01, that.ext01) &&
                Objects.equals(ext02, that.ext02);
    }

    @Override
    public int hashCode() {
        return Objects.hash(registraId, registraName, registraUnitprice, status, ext01, ext02);
    }

    public Integer getRegistraId() {
        return registraId;
    }

    public void setRegistraId(Integer registraId) {
        this.registraId = registraId;
    }

    public String getRegistraName() {
        return registraName;
    }

    public void setRegistraName(String registraName) {
        this.registraName = registraName;
    }

    public String getRegistraUnitprice() {
        return registraUnitprice;
    }

    public void setRegistraUnitprice(String registraUnitprice) {
        this.registraUnitprice = registraUnitprice;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getExt01() {
        return ext01;
    }

    public void setExt01(String ext01) {
        this.ext01 = ext01;
    }

    public String getExt02() {
        return ext02;
    }

    public void setExt02(String ext02) {
        this.ext02 = ext02;
    }
}
